<?php
use think\facade\Route;
//把需要验证权限的路由放一起
Route::get('/index/getC', 'index/getC');

Route::group('/', function(){

    //产品基本信息获取
    Route::get('/index/index', 'index/index');
    Route::get('/index/login', 'index/login');
    Route::get('/index/GetZgGi', 'index/GetZgGi');
    //第三方数据获取
//    Route::get('/index/GetPgiProduct', 'index/GetPgiProduct')->middleware(\app\applet\middleware\AppKey::class);
//    Route::get('/index/GetAgiProduct', 'index/GetAgiProduct')->middleware(\app\applet\middleware\AppKey::class);
//    Route::get('/index/GetTmProduct', 'index/GetTmProduct')->middleware(\app\applet\middleware\AppKey::class);

});
//->middleware(\app\applet\middleware\AppKey::class)
